<?php

class BonusConvertUpgradePageLink extends Extension {
	function getBonusConvertUpgrade(){
        $page = BonusConvertUpgrade::get()->find('ClassName', 'BonusConvertUpgrade');
        if($page) return $page;
    }
    
    function getBonusConvertUpgradeLink() {
        $page = $this->getBonusConvertUpgrade();
        if($page) return $page->Link();
    }
	
    function getBonusConvertUpgradeStatement(){
        $page = BonusConvertUpgradeStatementPage::get()->find('ClassName', 'BonusConvertUpgradeStatementPage');
        if($page) return $page;
    }
    
    function getBonusConvertUpgradeStatementLink() {
        $page = $this->getBonusConvertUpgradeStatement();
        if($page) return $page->Link();
    }
}
